<?php
/**
 * Created by PhpStorm.
 * User: GuoHengxi
 * Date: 13-11-24
 * Time: 上午9:21
 */
class PartyModel extends RelationModel{
    protected $_link = array(
        'Image'=> array(
            'mapping_type' => HAS_MANY,
            //'foreign_key'=>'partyId',
            'mapping_name'=>'images',
            'mapping_fields'=>'name',
        )
    );
}
